package org.example.lottery_system.service;

import org.example.lottery_system.controller.param.CreatePrizeParam;
import org.example.lottery_system.controller.param.PageParam;
import org.example.lottery_system.service.dto.PageListDTO;
import org.example.lottery_system.service.dto.PrizeDTO;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;
@Service
public interface PrizeService {
    /**
     * 创建单个奖品
     * @param param
     * @param picFile
     * @return
     */
    Long createPrize(CreatePrizeParam param, MultipartFile picFile);

    /**
     * 翻页查询列表
     * @param param
     * @return
     */
   PageListDTO<PrizeDTO> findPrizeList(PageParam param);
}
